 
<style>
	.equipment{
		margin-left: 20px;
		margin-top: 30px;
		margin-bottom: 50px;
		width: 720px;
	}
	.equ{
		display: table;
		border-spacing: 0;
        border-collapse: collapse;
        text-align: center;
        vertical-align: middle;
	}
	
	.equ .odd{
		width: 100px;
	}
	.equ .even{
		width: 200px;
	}
	.equ .three{
		width: 400px;
	}
	
	
</style>

<input type="hidden" name="roleId" id="roleId" value="<{$roleId}>" />

<div class="equipment">
	<{if $role.state}>
	<table class="equ table-bordered">
		<tbody>
			<{if count($data)==0 }>
				<font color="red">暂无数据</font>
			<{/if}>
			<{foreach from=$data item=item key=key}>
			<tr>
                <td class="odd"><{$item.slot}></td>
                <td class="even"><font color="<{$item.color}>"><{$item.name}>(<{$item.bind}>)</font></td>
                <td class="three">
                	<table class="table table-striped" >
                		<tr>
                			<td>装备阶数</td>
                			<td><{$item.stage}></td>
                		</tr>
                		<tr>
                			<td>装备星级</td>
                			<td><{$item.star}></td>
                		</tr>
                		<tr>
                			<td>强化等级</td>
                			<td></td>
                		</tr>
                		<tr>
                			<td>镶嵌宝石</td>
                			<td></td>
                		</tr>
                		<tr>
                			<td>套装情况</td>
                			<td></td>
                		</tr>
                	</table>
                </td>
            </tr>
            <{/foreach}>
            
		</tbody>
        
    </table>
    <{else}>
    <div class="alert alert-warning" style="margin:0;" role="alert"><{$role.msg}></div>
    <{/if}>
</div>